﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E11 RID: 3601
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ReplaceLineupScRsp : IMessage<ReplaceLineupScRsp>, IMessage, IEquatable<ReplaceLineupScRsp>, IDeepCloneable<ReplaceLineupScRsp>, IBufferMessage
	{
		// Token: 0x17002DC9 RID: 11721
		// (get) Token: 0x0600A1C1 RID: 41409 RVA: 0x001B0DC8 File Offset: 0x001AEFC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ReplaceLineupScRsp> Parser
		{
			get
			{
				return ReplaceLineupScRsp._parser;
			}
		}

		// Token: 0x17002DCA RID: 11722
		// (get) Token: 0x0600A1C2 RID: 41410 RVA: 0x001B0DCF File Offset: 0x001AEFCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ReplaceLineupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002DCB RID: 11723
		// (get) Token: 0x0600A1C3 RID: 41411 RVA: 0x001B0DE1 File Offset: 0x001AEFE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ReplaceLineupScRsp.Descriptor;
			}
		}

		// Token: 0x0600A1C4 RID: 41412 RVA: 0x001B0DE8 File Offset: 0x001AEFE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplaceLineupScRsp()
		{
		}

		// Token: 0x0600A1C5 RID: 41413 RVA: 0x001B0DF0 File Offset: 0x001AEFF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplaceLineupScRsp(ReplaceLineupScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A1C6 RID: 41414 RVA: 0x001B0E15 File Offset: 0x001AF015
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplaceLineupScRsp Clone()
		{
			return new ReplaceLineupScRsp(this);
		}

		// Token: 0x17002DCC RID: 11724
		// (get) Token: 0x0600A1C7 RID: 41415 RVA: 0x001B0E1D File Offset: 0x001AF01D
		// (set) Token: 0x0600A1C8 RID: 41416 RVA: 0x001B0E25 File Offset: 0x001AF025
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600A1C9 RID: 41417 RVA: 0x001B0E2E File Offset: 0x001AF02E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ReplaceLineupScRsp);
		}

		// Token: 0x0600A1CA RID: 41418 RVA: 0x001B0E3C File Offset: 0x001AF03C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ReplaceLineupScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A1CB RID: 41419 RVA: 0x001B0E6C File Offset: 0x001AF06C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A1CC RID: 41420 RVA: 0x001B0EAB File Offset: 0x001AF0AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A1CD RID: 41421 RVA: 0x001B0EB3 File Offset: 0x001AF0B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A1CE RID: 41422 RVA: 0x001B0EBC File Offset: 0x001AF0BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A1CF RID: 41423 RVA: 0x001B0EF0 File Offset: 0x001AF0F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A1D0 RID: 41424 RVA: 0x001B0F2E File Offset: 0x001AF12E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ReplaceLineupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A1D1 RID: 41425 RVA: 0x001B0F5F File Offset: 0x001AF15F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A1D2 RID: 41426 RVA: 0x001B0F68 File Offset: 0x001AF168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003E7D RID: 15997
		private static readonly MessageParser<ReplaceLineupScRsp> _parser = new MessageParser<ReplaceLineupScRsp>(() => new ReplaceLineupScRsp());

		// Token: 0x04003E7E RID: 15998
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003E7F RID: 15999
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04003E80 RID: 16000
		private uint retcode_;
	}
}
